﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="TanashCMS.Business"
    namespace="TanashCMS.Business">
	<class name="SmartPageComponent" table="SmartPageComponent" lazy="false">
		<id column="ID" name="ID">
			<generator class="identity" />
		</id>
		<property name="SlotIndex" column="SlotIndex" />
		<property name="HtmlContent" column="HtmlContent" />
		<property name="SourceObjectType" column="SourceObjectType" />
		<property name="SourceObjectID" column="SourceObjectID" />
		<property name="ComponentType" column="ComponentType" />
		<property name="WebsiteID" column="WebsiteID" />
		<property name="WebPageID" column="WebPageID" />
		<property name="UserControlName" column="UserControlName" />
		<!--
		<many-to-one name="Website" class="TanashWebsite" column="WebsiteID" foreign-key="ID" />
		<many-to-one name="WebPage" class="WebPage" column="WebPageID" foreign-key="ID" />
		-->
	
	</class>
</hibernate-mapping>
